package com.lx.processor;

import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 *          ItemProcessor
 * 1.ItemProcessor：spring-batch中数据处理的过程
 * 2.ItemProcessor主要用于实现业务逻辑，验证，过滤，等
 * 3.Spring-batch为我们提供ItemProcessor<I,O>这个接口，它包含一个方法O process(I item)
 * @author lixing
 * @date 2021/7/13 10:53
 */
@SpringBootApplication
@EnableBatchProcessing
public class ProcessorFileApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProcessorFileApplication.class, args);

    }
}

